import 'package:flutter/material.dart';

class ToolTipDemo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('ToolTipDemo'),
      ),
      body: Center(
        child: Tooltip(
          message: '这是一张好看的图片',
          child: Image.asset('assets/images/CustomScrollViewImage.jpg'),
        ),
      ),
    );
  }
}
